package com.tencent.backstage.dao;

import com.tencent.backstage.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AdminRepository  extends JpaRepository<Admin,Integer> {
    Admin findByUserNameAndPassword(String username,String password);
}
